package com.tledu.ssm.service;

import com.tledu.ssm.core.exception.LoginException;
import com.tledu.ssm.model.User;

import java.util.List;

public interface IUserService {
    User selectById(Integer id);

    User login(String username, String password) throws LoginException;

    List<User> list();
}
